@charset "utf-8";
/* 冒頭でimport */
@import url('https://fonts.googleapis.com/css?family=Raleway:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,700&display=swap&subset=japanese');

/* フォントを指定したいところで */
logo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover; /* 画像のトリミング */
}

/* ===============================
   🌿 全体スタイル
   =============================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  color: #333;
  text-align: center;
  line-height: 1.8;
}

/* ===============================
   🧭 ヘッダー
   =============================== */
header {
  position: relative;
  background: linear-gradient(to right, #ffffff, #ffaa00);
  color: #000000;
  text-align: center;
  padding: 2rem 1rem 4rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
  font-size: 2rem;
  margin: 0;
}

header nav {
  margin-top: 1rem;
}

header nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

header nav a:hover {
  color: #00cc88;
  transform: scale(1.1);
}

/* ===============================
   🧾 セクション
   =============================== */
section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left; /* レイアウト基準は左 */
}

/* 見出し */
h2 {
  color: #222;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

/* ✅ section内のh2をセンター揃え */
section h2 {
  text-align: center;
}

/* ✅ section内の文章をセンター揃え */
section p,
section li {
  text-align: center;
  font-size: 1.2rem;
}

/* ===============================
   🖼️ 画像＋テキスト横並び
   =============================== */
.image-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* ✅ 写真右・テキスト左に切り替え */
.image-row.reverse {
  flex-direction: row-reverse;
}

/* 画像：デフォルトサイズ */
.image-row img {
  width: 450px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ✅ 画像サイズ切り替え */
.image-row img.small {
  width: 300px;
}

.image-row img.large {
  width:  6o0px;
}

.image-row .text {
  max-width: 400px;
  text-align: left; /* 画像横の説明文は左寄せ */
}

/* ===============================
   📑 ページ内リンク用（目次など）
   =============================== */
.toc {
  display: inline-block;
  background-color: #ffaa0051;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 2rem 0;
  text-align: left;
}

.toc a {
  display: block;
  color: #006699;
  text-decoration: none;
  margin: 0.4rem 0;
  transition: color 0.2s;
}

.toc a:hover {
  color: #0099cc;
  text-decoration: underline;
}

/* ===============================
   📸 画像ギャラリー
   =============================== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.gallery img {
  width: 300px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===============================
   🪶 フッター
   =============================== */
footer {
  margin-top: 3rem;
  background-color: #ffaa00;
  padding: 1.5rem;
  color: #333;
  font-size: 0.9rem;
}
